using PackageLinSample.MaskEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PackageConsumer.NetFrameworkConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World! Console application in .NET Framework Console Application!");

            //Case 1: call package written in .NET Standard
            var logger = new PackageLinSample.Logger();

            logger.Log("my log text");
            logger.Log("first log text");


            var me = new MaskEngine();
            var result = me.Mask("password", "testsdfdsfs");

            Console.WriteLine(result);


            //Case 2: call another package written in .NET Framework 4.6 (and hosted in private host server)
            Method1();

            Console.ReadKey();
        }

        static void Method1() {
            var logger = new PackageLinNFxSample.Logger();
            logger.Log("Method1 called PackageLinNFxSample");
        }
    }
}
